//
//  CalculatorModel.swift
//  ToDo
//
//  Created by yanhangpu on 2021/7/8.
//

import Foundation
import Combine

class CalculatorModel: ObservableObject {
    let objectWillChange = PassthroughSubject<Void, Never>()
    var brain: CalculatorBrain = .left("0") {
        willSet { objectWillChange.send() }
    }

    @Published var brainNew: CalculatorBrain = .left("0")
    
}
